range: Remove scale special case
authorTimm Bäder <mail@baedert.org>
Sat, 17 Feb 2018 08:29:45 +0000 (09:29 +0100)
committerTimm Bäder <mail@baedert.org>
Fri, 23 Feb 2018 09:47:05 +0000 (10:47 +0100)
This is done automatically nowadays since the value is shown in a
widget.

gtk/gtkrange.c

index f4c595613a274e5ee404fe479a8c3f92133070ee..00e18fa6d7990282fdf66e6a1bee9e62091a4a36 100644 (file)
@@ -2381,12 +2381,6 @@ gtk_range_adjustment_value_changed (GtkAdjustment *adjustment,
   GtkRange *range = GTK_RANGE (data);
 
   gtk_range_calc_slider (range);
-  
-  /* now check whether the layout changed  */
-  if (GTK_IS_SCALE (range) && gtk_scale_get_draw_value (GTK_SCALE (range)))
-    {
-      gtk_widget_queue_draw (GTK_WIDGET (range));
-    }
 
   /* Note that we don't round off to priv->round_digits here.
    * that's because it's really broken to change a value